package com.haoniu.module.domain.database;

import com.haoniu.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

    
/**
 * 房间-雷数 关联表 room_lei
 *
 * @author houyijun
 * @date 2019-01-29
 */
public class RoomLei extends BaseEntity{
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/** 房间ID */
	private Integer roomId;
	/** 1 单雷 2 多雷 */
	private String type;
	/** 红包数量 */
	private Integer amount;
	/** 金额范围最小 */
	private BigDecimal moneyMin;
	/** 金额范围最大 */
	private BigDecimal moneyMax;
	/** 一雷 */
	private BigDecimal oneLei;
	/** 二雷 */
	private BigDecimal twoLei;
	/** 三雷 */
	private BigDecimal threeLei;
	/** 四雷 */
	private BigDecimal fourLei;
	/** 五雷 */
	private BigDecimal fiveLei;
	/** 六雷 */
	private BigDecimal sixLei;
	/** 七雷 */
	private BigDecimal sevenLei;
	/** 八雷 */
	private BigDecimal eightLei;
	/** 九雷 */
	private BigDecimal nineLei;
	/** 创建时间 */
	private Date createTime;
	/** 更新时间 */
	private Date updateTime;
	/** 删除标志 0未删除 2已删除 */
	private Integer delFlag;

	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return id;
	}
	public void setRoomId(Integer roomId){
		this.roomId = roomId;
	}

	public Integer getRoomId(){
		return roomId;
	}
	public void setType(String type){
		this.type = type;
	}

	public String getType(){
		return type;
	}
	public void setAmount(Integer amount){
		this.amount = amount;
	}

	public Integer getAmount(){
		return amount;
	}
	public void setMoneyMin(BigDecimal moneyMin){
		this.moneyMin = moneyMin;
	}

	public BigDecimal getMoneyMin(){
		return moneyMin;
	}
	public void setMoneyMax(BigDecimal moneyMax){
		this.moneyMax = moneyMax;
	}

	public BigDecimal getMoneyMax(){
		return moneyMax;
	}
	public void setOneLei(BigDecimal oneLei){
		this.oneLei = oneLei;
	}

	public BigDecimal getOneLei(){
		return oneLei;
	}
	public void setTwoLei(BigDecimal twoLei){
		this.twoLei = twoLei;
	}

	public BigDecimal getTwoLei(){
		return twoLei;
	}
	public void setThreeLei(BigDecimal threeLei){
		this.threeLei = threeLei;
	}

	public BigDecimal getThreeLei(){
		return threeLei;
	}
	public void setFourLei(BigDecimal fourLei){
		this.fourLei = fourLei;
	}

	public BigDecimal getFourLei(){
		return fourLei;
	}
	public void setFiveLei(BigDecimal fiveLei){
		this.fiveLei = fiveLei;
	}

	public BigDecimal getFiveLei(){
		return fiveLei;
	}
	public void setSixLei(BigDecimal sixLei){
		this.sixLei = sixLei;
	}

	public BigDecimal getSixLei(){
		return sixLei;
	}
	public void setSevenLei(BigDecimal sevenLei){
		this.sevenLei = sevenLei;
	}

	public BigDecimal getSevenLei(){
		return sevenLei;
	}
	public void setEightLei(BigDecimal eightLei){
		this.eightLei = eightLei;
	}

	public BigDecimal getEightLei(){
		return eightLei;
	}
	public void setNineLei(BigDecimal nineLei){
		this.nineLei = nineLei;
	}

	public BigDecimal getNineLei(){
		return nineLei;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	public Date getCreateTime(){
		return createTime;
	}
	public void setUpdateTime(Date updateTime){
		this.updateTime = updateTime;
	}

	public Date getUpdateTime(){
		return updateTime;
	}
	public void setDelFlag(Integer delFlag){
		this.delFlag = delFlag;
	}

	public Integer getDelFlag(){
		return delFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomId", getRoomId())
            .append("type", getType())
            .append("amount", getAmount())
            .append("moneyMin", getMoneyMin())
            .append("moneyMax", getMoneyMax())
            .append("oneLei", getOneLei())
            .append("twoLei", getTwoLei())
            .append("threeLei", getThreeLei())
            .append("fourLei", getFourLei())
            .append("fiveLei", getFiveLei())
            .append("sixLei", getSixLei())
            .append("sevenLei", getSevenLei())
            .append("eightLei", getEightLei())
            .append("nineLei", getNineLei())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
